package com.hjxy.service;

import com.hjxy.pojo.Teacher;

import java.util.List;

public interface TeacherService {
    //遍历全部教师信息
    List<Teacher> queryTeacher();
    //新增教师信息
    int addTeacher(Teacher teacher);
    //更新教师信息
    int updateTeacher(Teacher teacher);
    //查询一个教师信息
    Teacher queryOneTeacherById(int teacherId);
    //删除一个教师信息
    int deleteOneTeacher(int teacherId);
}
